package com.kingdee.eas.fdc.customerservice;

import com.kingdee.bos.BOSException;
//import com.kingdee.bos.metadata.*;
import com.kingdee.bos.framework.*;
import com.kingdee.bos.util.*;
import com.kingdee.bos.Context;

import java.lang.String;
import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.eas.common.EASBizException;
import com.kingdee.bos.dao.IObjectPK;
import com.kingdee.eas.fdc.propertymgmt.IPPMProjectBill;
import com.kingdee.eas.fdc.basedata.FDCBillStateEnum;
import com.kingdee.bos.metadata.entity.SelectorItemCollection;
import com.kingdee.eas.framework.CoreBaseCollection;
import com.kingdee.bos.util.*;
import com.kingdee.bos.BOSException;
import com.kingdee.bos.Context;
import com.kingdee.eas.framework.CoreBaseInfo;
import java.util.Collection;
import com.kingdee.bos.framework.*;
import com.kingdee.bos.util.BOSUuid;

public interface IServiceRergisterBill extends IPPMProjectBill
{
    public ServiceRergisterBillInfo getServiceRergisterBillInfo(IObjectPK pk) throws BOSException, EASBizException;
    public ServiceRergisterBillInfo getServiceRergisterBillInfo(IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException;
    public ServiceRergisterBillInfo getServiceRergisterBillInfo(String oql) throws BOSException, EASBizException;
    public ServiceRergisterBillCollection getServiceRergisterBillCollection() throws BOSException;
    public ServiceRergisterBillCollection getServiceRergisterBillCollection(EntityViewInfo view) throws BOSException;
    public ServiceRergisterBillCollection getServiceRergisterBillCollection(String oql) throws BOSException;
    public void updateBillStatus(IObjectPK pk, ServiceRegisterBillStatusEnum billStatus) throws BOSException, EASBizException;
    public Collection findProcessEntryInfoById(ServiceRergisterBillInfo registerBillInfo) throws BOSException, EASBizException;
    public void updateReturnStatus(IObjectPK pk, ServiceReturnEnum returnStatus) throws BOSException, EASBizException;
    public void deleteReturnBillById(IObjectPK pk) throws BOSException, EASBizException;
    public void updateState(IObjectPK pk, FDCBillStateEnum state) throws BOSException, EASBizException;
    public void submitForWF(ServiceRergisterBillInfo model) throws BOSException, EASBizException;
    public IObjectPK submitForRergisterBill(ServiceRergisterBillInfo model) throws BOSException, EASBizException;
    public IObjectPK submitForProcessBill(ServiceRergisterBillInfo model) throws BOSException, EASBizException;
    public void checkCanCreateInspection(BOSUuid id) throws BOSException, EASBizException;
}